package com.aiwei.tdjk.service;

import com.aiwei.tdjk.entity.User;

/**
 * Created by yanfeng on 2016/12/13.
 */
public interface PasswordService {

    boolean matches(User user, String newPassword);


    String encryptPassword(String username, String password, String salt);
}
